import time

from selenium import webdriver
driver = webdriver.Chrome()
if __name__=='__main__':
    options = webdriver.ChromeOptions()
    # 指定设备名称即可
    options.add_experimental_option('mobileEmulation', {'deviceName': 'iPhone 14 Pro Max'})

    driver = webdriver.Chrome(options=options)
    driver.get('https://www.damai.cn/')
    time.sleep(12)